<html>
<head><meta charset="utf-8"><title>Zig&#x27;s New Relationship with LLVM · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Zig&#x27;s.20New.20Relationship.20with.20LLVM.html">Zig&#x27;s New Relationship with LLVM</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="211510061"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Zig%27s%20New%20Relationship%20with%20LLVM/near/211510061" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Zig&#x27;s.20New.20Relationship.20with.20LLVM.html#211510061">(Sep 28 2020 at 15:44)</a>:</h4>
<p><a href="https://kristoff.it/blog/zig-new-relationship-llvm/">Zig's New Relationship with LLVM</a> (<a href="https://news.ycombinator.com/item?id=24615916">HN thread</a>)</p>



<a name="211510170"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Zig%27s%20New%20Relationship%20with%20LLVM/near/211510170" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Zig&#x27;s.20New.20Relationship.20with.20LLVM.html#211510170">(Sep 28 2020 at 15:45)</a>:</h4>
<p>One short takeaway: instead of relinking the entire binary, they patch the previous binary with the changed machine code.</p>



<a name="211510798"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Zig%27s%20New%20Relationship%20with%20LLVM/near/211510798" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Zig&#x27;s.20New.20Relationship.20with.20LLVM.html#211510798">(Sep 28 2020 at 15:50)</a>:</h4>
<p>that looks so cool :D</p>



<a name="211510808"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Zig%27s%20New%20Relationship%20with%20LLVM/near/211510808" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Zig&#x27;s.20New.20Relationship.20with.20LLVM.html#211510808">(Sep 28 2020 at 15:50)</a>:</h4>
<p>imaging if linking were incremental</p>



<a name="211510859"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Zig%27s%20New%20Relationship%20with%20LLVM/near/211510859" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Zig&#x27;s.20New.20Relationship.20with.20LLVM.html#211510859">(Sep 28 2020 at 15:50)</a>:</h4>
<p>MSVC can link incrementally, we just don't turn it on</p>



<a name="211511046"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Zig%27s%20New%20Relationship%20with%20LLVM/near/211511046" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Zig&#x27;s.20New.20Relationship.20with.20LLVM.html#211511046">(Sep 28 2020 at 15:52)</a>:</h4>
<p>can lld link incrementally too?</p>



<a name="211511112"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Zig%27s%20New%20Relationship%20with%20LLVM/near/211511112" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Zig&#x27;s.20New.20Relationship.20with.20LLVM.html#211511112">(Sep 28 2020 at 15:52)</a>:</h4>
<p>looks like no: <a href="https://bugs.llvm.org/show_bug.cgi?id=35917">https://bugs.llvm.org/show_bug.cgi?id=35917</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>